package com.dhcy.mqtt.par.ht;



import lombok.Data;
import javax.validation.constraints.NotBlank;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;



@Data
@ApiModel(value="新增修改",reference ="新增修改" )
public class UserAddPar {
   @ApiModelProperty(value="",dataType = "Integer ",example = "")
   private Integer id;
   @NotBlank(message = "不能为空")
   @ApiModelProperty(value="",dataType = "String ",example = "")
   private String openid;
   @NotBlank(message = "不能为空")
   @ApiModelProperty(value="",dataType = "String ",example = "")
   private String nickname;
   @NotBlank(message = "用户的性别，值为1时是男性，值为2时是女性，值为0时是未知不能为空")
   @ApiModelProperty(value="用户的性别，值为1时是男性，值为2时是女性，值为0时是未知",dataType = "Integer ",example = "")
   private Integer sex;
   @NotBlank(message = "不能为空")
   @ApiModelProperty(value="",dataType = "String ",example = "")
   private String province;
   @NotBlank(message = "不能为空")
   @ApiModelProperty(value="",dataType = "String ",example = "")
   private String city;
   @NotBlank(message = "不能为空")
   @ApiModelProperty(value="",dataType = "String ",example = "")
   private String country;
   @NotBlank(message = "用户头像不能为空")
   @ApiModelProperty(value="用户头像",dataType = "String ",example = "")
   private String headimgurl;
   @NotBlank(message = "不能为空")
   @ApiModelProperty(value="",dataType = "String ",example = "")
   private String privilege;
   @NotBlank(message = "不能为空")
   @ApiModelProperty(value="",dataType = "String ",example = "")
   private String unionid;
   @NotBlank(message = "不能为空")
   @ApiModelProperty(value="",dataType = "Date ",example = "")
   private String createTime;
   @NotBlank(message = "最后的登录时间不能为空")
   @ApiModelProperty(value="最后的登录时间",dataType = "Date ",example = "")
   private String loginTime;
   @NotBlank(message = "不能为空")
   @ApiModelProperty(value="",dataType = "String ",example = "")
   private String username;
   @NotBlank(message = "地址不能为空")
   @ApiModelProperty(value="地址",dataType = "String ",example = "")
   private String address;
   @NotBlank(message = "房间大小不能为空")
   @ApiModelProperty(value="房间大小",dataType = "Integer ",example = "")
   private Integer homeSize;
   @NotBlank(message = "不能为空")
   @ApiModelProperty(value="",dataType = "String ",example = "")
   private String tel;
   @NotBlank(message = "不能为空")
   @ApiModelProperty(value="",dataType = "Double ",example = "")
   private Double jifen;
   @NotBlank(message = "不能为空")
   @ApiModelProperty(value="",dataType = "Double ",example = "")
   private Double yongjin;
   @NotBlank(message = "不能为空")
   @ApiModelProperty(value="",dataType = "Integer ",example = "")
   private Integer regId;
   @NotBlank(message = "不能为空")
   @ApiModelProperty(value="",dataType = "Double ",example = "")
   private Double txAmount;

}
